package com.baizhi.entity;

public class Commit {
    int commentid;
    int uid;
    int aid;
    String name;
    String comment;
    String date;
    String title;
    public Commit(){}
    public Commit(int commentid,int uid,int aid,String name,String comment,String date,String title){
        this.commentid = commentid;
        this.uid = uid;
        this.aid = aid;
        this.name = name;
        this.comment = comment;
        this.date = date;
        this.title = title;
    }

    public int getCommentid() {
        return commentid;
    }

    public void setCommentid(int commentid) {
        this.commentid = commentid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Commit{" +
                "commentid=" + commentid +
                ", uid=" + uid +
                ", aid=" + aid +
                ", name='" + name + '\'' +
                ", comment='" + comment + '\'' +
                ", date='" + date + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
